#include <sys/types.h>
#include <unistd.h>
#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
    pid_t pid = fork();
    if (pid == 0)
    {
        while(true)
        {
            cout<<"I am son process I am runing....\n"<<endl;
            sleep(2);
        }
    }
    else if(pid > 0)
    {
        while (true)
        {
            cout<<"I am father process I am runing....\n"<<endl;
            sleep(2);
        }
    }

    return 0;
}